package com.ruoyi.webshop.service;

import java.util.List;
import com.ruoyi.webshop.domain.RepositoryInfo;

/**
 * 仓库Service接口
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public interface IRepositoryInfoService 
{
    /**
     * 查询仓库
     * 
     * @param repositoryId 仓库主键
     * @return 仓库
     */
    public RepositoryInfo selectRepositoryInfoByRepositoryId(Long repositoryId);

    /**
     * 查询仓库列表
     * 
     * @param repositoryInfo 仓库
     * @return 仓库集合
     */
    public List<RepositoryInfo> selectRepositoryInfoList(RepositoryInfo repositoryInfo);

    /**
     * 新增仓库
     * 
     * @param repositoryInfo 仓库
     * @return 结果
     */
    public int insertRepositoryInfo(RepositoryInfo repositoryInfo);

    /**
     * 修改仓库
     * 
     * @param repositoryInfo 仓库
     * @return 结果
     */
    public int updateRepositoryInfo(RepositoryInfo repositoryInfo);

    /**
     * 批量删除仓库
     * 
     * @param repositoryIds 需要删除的仓库主键集合
     * @return 结果
     */
    public int deleteRepositoryInfoByRepositoryIds(Long[] repositoryIds);

    /**
     * 删除仓库信息
     * 
     * @param repositoryId 仓库主键
     * @return 结果
     */
    public int deleteRepositoryInfoByRepositoryId(Long repositoryId);
}
